package com.open.capacity.finance.dao;

import com.open.capacity.finance.entity.SourceBaseXm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 项目
 *
 * @author
 * @email
 * @date 2023-02-03 10:48:16
 */
@Mapper
public interface SourceBaseXmDao {

    int save(SourceBaseXm sourceBaseXm);

    int deleteAll();

    int deleteByCompanyIdAndKjnd(@Param("companyId") String companyId, @Param("kjnd") Integer kjnd);

    SourceBaseXm findById(String id);

    List<SourceBaseXm> findAll(Map<String, Object> params);

}
